<input type="hidden" value="${ctx}" id="basePath">

<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/empty_page.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:52 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>试题修改</title>

    <link href="${ctx}/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="${ctx}/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="${ctx}/css/animate.min.css" rel="stylesheet">
    <link href="${ctx}/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <!--单选框样式-->
    <link href="${ctx}/css/labelauty.css" rel="stylesheet"/>

    <script src="${ctx}/js/jquery.min.js?v=2.1.4"></script>
    <script src="${ctx}/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="${ctx}/js/content.min.js?v=1.0.0"></script>
    <script src="${ctx}/js/plugins/layer/layer.js"></script>
    <script src="${ctx}/js/exam/exam-update.js"></script>
  <#--表单验证-->
    <link href="${ctx}/parsley/parsley.css" rel="stylesheet">
    <script src="${ctx}/parsley/parsley.min.js"></script>

    <style type="text/css">
        .check-image {
            background: url(${ctx}/images/input-unchecked.png) no-repeat;
        }

        /**********************************自定义单选框样式******************************************/
        .rdo {
            height: 34px;
            border: 1px solid #e5e6e7;
        }

        .rdobox {
            border-radius: 0;
            height: 34px;
        }

        /**********************************自定义单选框样式******************************************/

        label {
            margin-bottom: 0px;
        }

        .waring {
            position: fixed;
            top: 18%;
            right: 12%;
            min-height: 80px;
            width: 15%;
        }

        /*去圆角*/
        .nav-tabs li a {
            border-radius: 0 0 0 0;
        }

        /*提示框高度*/
        ul.notes li div {
            height: 220px;
        }
    </style>
</head>
<body class="gray-bg" onload="getTime(),loadAnswer('#answer-content-wenda-location','#answer-content-wenda-mayor-cure')">
<br>
<div class="wrapper wrapper-content animated fadeInUp waring">
    <ul class="notes">
        <li>
            <div style="transform:rotate(0deg);">
                <small id="date-time" style="text-align: left;width: 92%"></small>
                <br>
                <h4>温馨提示</h4>
                <p><span class="glyphicon glyphicon-triangle-right" style="color: limegreen"></span>试题题干不可与已存在的试题题干相同，系统将会对此进行验证。</p>
                <p><span class="glyphicon glyphicon-triangle-right" style="color: limegreen"></span>需要增加定位、主治或者答案项时，请点击添加按钮。</p>
                <p><span class="glyphicon glyphicon-triangle-right" style="color: limegreen"></span>需要减少答案或者主治项时，请点击“叉号”进行删除。</p>
            </div>
        </li>
    </ul>
</div>
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="tabbable" id="tabs-576364">
                <ul class="nav nav-tabs">
                    <li class="active"><a href="#panel-1" data-toggle="tab">问答题</a></li>
                    <li><a>穴位定位</a></li>
                    <li><a>单项手法</a></li>
                    <li><a>成套手法</a></li>
                </ul>
                <br/>
                <div class="tab-content">
                    <div class="tab-pane active" id="panel-1">
                        <form class="form-horizontal" id="table-example">
                            <div class="col-md-9">
                                <input type="hidden" value="${exam.id}" name="id"/>
                                <!--试题分类-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">分类</label>
                                    <div class="col-md-9">
                                        <div class="rdo">
                                            <!--腧穴题-->
                                            <input type="radio" name="categoryId" class="rdolist" value="1"/>
                                            <label class="rdobox" radio-exam-category-val="1" id="radio-exam-acupoint">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">腧穴</span>
                                            </label>
                                            <!--内科-->
                                            <input type="radio" name="categoryId" class="rdolist" value="2"/>
                                            <label class="rdobox" radio-exam-category-val="2">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">内科</span>
                                            </label>
                                            <!--伤科-->
                                            <input type="radio" name="categoryId" class="rdolist" value="3"/>
                                            <label class="rdobox" radio-exam-category-val="3">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">伤科</span>
                                            </label>
                                            <!--妇科-->
                                            <input type="radio" name="categoryId" class="rdolist" value="4"/>
                                            <label class="rdobox" radio-exam-category-val="4">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">妇科</span>
                                            </label>
                                            <!--儿科-->
                                            <input type="radio" name="categoryId" class="rdolist" value="5"/>
                                            <label class="rdobox" radio-exam-category-val="5">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">儿科</span>
                                            </label>
                                            <!--触诊-->
                                            <input type="radio" name="categoryId" class="rdolist" value="6"/>
                                            <label class="rdobox" radio-exam-category-val="6">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">触诊</span>
                                            </label>
                                        </div>
                                    </div>
                                </div>

                                <#include "common.ftl">

                                <!--问答题答案模板-->
                                <!--定位-->
                                <div id="answer-content-wenda-location">
                                    <div class="form-group ">
                                        <label class="col-sm-2 control-label">定位</label>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control" name="location1" value="${exam.location1}"
                                                   parsley-trigger="change" required maxlength="250" data-parsley-maxlength="250"/>
                                        </div>
                                        <label class="col-sm-1 control-label">分值</label>
                                        <div class="col-sm-2">
                                            <input type="text" class="form-control" name="location1Score" value="${exam.location1Score}"
                                                   parsley-trigger="change" required data-parsley-range="[0,${examParamWendaAcupoint.maxLocationScore}]"/>
                                        </div>
                                        <div class="col-sm-1">
                                            <button class="btn  btn-primary" type="button" onclick="addTerms('#answer-content-wenda-location',2,'定位项已达上限','wendaAcupointLocation')"><i class="glyphicon glyphicon-plus"></i>&nbsp;添加</button>
                                        </div>
                                    </div>
                                </div>
                                <!--归经-->
                                <div class="form-group ">
                                    <label class="col-sm-2 control-label">归经</label>
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control" name="meridian" value="${exam.meridian}"
                                               parsley-trigger="change" required maxlength="250" data-parsley-maxlength="250"/>
                                    </div>
                                    <label class="col-sm-1 control-label">分值</label>
                                    <div class="col-sm-2">
                                        <input type="text" class="form-control" name="meridianScore" value="${exam.meridianScore}"
                                               parsley-trigger="change" required data-parsley-range="[0,${examParamWendaAcupoint.maxMeridianScore}]"/>
                                    </div>
                                </div>

                                <!--主治-->
                                <div id="answer-content-wenda-mayor-cure">
                                    <div class="form-group ">
                                        <label class="col-sm-2 control-label">主治</label>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control" name="mayorCure1" value="${exam.mayorCure1}"
                                                   parsley-trigger="change" required maxlength="250" data-parsley-maxlength="250"/>
                                        </div>
                                        <label class="col-sm-1 control-label">分值</label>
                                        <div class="col-sm-2">
                                            <input type="text" class="form-control" name="mayorCure1Score" value="${exam.mayorCure1Score}"
                                                   parsley-trigger="change" required data-parsley-range="[0,${examParamWendaAcupoint.maxMayorCureScore}]" />
                                        </div>
                                        <div class="col-sm-1">
                                            <button class="btn  btn-primary" type="button" onclick="addTerms('#answer-content-wenda-mayor-cure',7,'主治项已达上限','wendaAcupointMayorCure')"><i class="glyphicon glyphicon-plus"></i>&nbsp;添加</button>
                                        </div>
                                    </div>
                                </div>


                                <div id="answer-content-wenda"></div>
                                <div class="form-group">
                                    <div class="col-md-6" style="text-align: center;">
                                        <button type="button"onclick="submitForm()"  class="btn btn-primary" style="background-color: #008200; color: white;">提交</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<input type="hidden" value="<#if exam.location2 ??>${exam.location2}</#if>" id="location2">
<input type="hidden" value="<#if exam.location2Score ??>${exam.location2Score}</#if>" id="location2Score">
<input type="hidden" value="<#if exam.location3 ??>${exam.location3}</#if>" id="location3">
<input type="hidden" value="<#if exam.location3Score ??>${exam.location3Score}</#if>" id="location3Score">
<input type="hidden" value="<#if exam.mayorCure2 ??>${exam.mayorCure2}</#if>" id="mayorCure2">
<input type="hidden" value="<#if exam.mayorCure2Score ??>${exam.mayorCure2Score}</#if>" id="mayorCure2Score">
<input type="hidden" value="<#if exam.mayorCure3 ??>${exam.mayorCure3}</#if>" id="mayorCure3">
<input type="hidden" value="<#if exam.mayorCure3Score ??>${exam.mayorCure3Score}</#if>" id="mayorCure3Score">
<input type="hidden" value="<#if exam.mayorCure4 ??>${exam.mayorCure4}</#if>" id="mayorCure4">
<input type="hidden" value="<#if exam.mayorCure4Score ??>${exam.mayorCure4Score}</#if>" id="mayorCure4Score">
<input type="hidden" value="<#if exam.mayorCure5 ??>${exam.mayorCure5}</#if>" id="mayorCure5">
<input type="hidden" value="<#if exam.mayorCure5Score ??>${exam.mayorCure5Score}</#if>" id="mayorCure5Score">
<input type="hidden" value="<#if exam.mayorCure6 ??>${exam.mayorCure6}</#if>" id="mayorCure6">
<input type="hidden" value="<#if exam.mayorCure6Score ??>${exam.mayorCure6Score}</#if>" id="mayorCure6Score">
<input type="hidden" value="<#if exam.mayorCure7 ??>${exam.mayorCure7}</#if>" id="mayorCure7">
<input type="hidden" value="<#if exam.mayorCure7Score ??>${exam.mayorCure7Score}</#if>" id="mayorCure7Score">
<input type="hidden" value="<#if exam.mayorCure8 ??>${exam.mayorCure8}</#if>" id="mayorCure8">
<input type="hidden" value="<#if exam.mayorCure8Score ??>${exam.mayorCure8Score}</#if>" id="mayorCure8Score">
</body>

<!---------------------------------------------------------------------------------------分类单选框------------------------------------------------------------------------>
<script>
    $(document).ready(function () {
        $("#radio-exam-acupoint").removeClass("unchecked");
        $("#radio-exam-acupoint").addClass("checked");
        $("#radio-exam-acupoint").find(".check-image").css("background", "url(" + basePath + "/images/input-checked.png)");
    });
</script>
<!---------------------------------------------------------------------------------------分类单选框------------------------------------------------------------------------>

<script type="text/javascript">
    function submitForm() {
        if (!$('#table-example').parsley().validate()) {
            return;
        }

        var totalScore = getTotalScoreWendaAcupoint();
        $("#total-score").val(totalScore)
        if (totalScore > '${examParamWendaAcupoint.maxTotalScore}') {
            layer.alert('总分超过上限，请修改!', {
                closeBtn: 0
            });
            return;
        }
        var url = '${ctx}/exam/examManage/update/examAcupoint';
        var lock = false;
        if (!lock) {
            lock = true;
            $.ajax({
                type: "POST",
                dataType: "JSON",
                url: url,
                data: $('#table-example').serialize(),
                success: function (data) {
                    lock = false;
                    if (data.code == 0) {
                        layer.msg(data.msg, {
                            icon: 1,
                            time: 4000
                        });
                    } else {
                        layer.alert(data.msg, {
                            closeBtn: 0
                        });
                    }
                },
                error: function (data) {
                    layer.alert(data.msg, {
                        closeBtn: 0
                    });
                }
            });
        }
    }

    function getTotalScoreWendaAcupoint() {
        var total = 0.0;
        var location1Score = $("#table-example").find("input[name='location1Score']").val();
        var meridianScore = $("#table-example").find("input[name='meridianScore']").val();
        var mayorCure1Score = $("#table-example").find("input[name='mayorCure1Score']").val();
        total = parseFloat(total) + parseFloat(location1Score) + parseFloat(meridianScore) + parseFloat(mayorCure1Score);

        $("input[name='answerScore']").each(function(i){
            total=parseFloat($(this).val())+total;
        });

        $("input[name='answerScore1']").each(function(i){
            total=parseFloat($(this).val())+total;
        });
        return total;
    }
    var validateAnswerText="parsley-trigger='change' required maxlength='250' data-parsley-maxlength='250' ";
    var validateAnswerScoreLocationText="parsley-trigger='change' required data-parsley-range='[0,${examParamWendaAcupoint.maxLocationScore}]'"
    var validateAnswerScoreMayorCureText="parsley-trigger='change' required data-parsley-range='[0,${examParamWendaAcupoint.maxMayorCureScore}]'"

    function loadAnswer(divId1, divId2) {
        var content;
        var location2 = $("#location2").val();
        var location2Score = $("#location2Score").val();
        var location3 = $("#location3").val();
        var location3Score = $("#location3Score").val();

        var mayorCure2 = $("#mayorCure2").val();
        var mayorCure2Score = $("#mayorCure2Score").val();
        var mayorCure3 = $("#mayorCure3").val();
        var mayorCure3Score = $("#mayorCure3Score").val();
        var mayorCure4 = $("#mayorCure4").val();
        var mayorCure4Score = $("#mayorCure4Score").val();
        var mayorCure5 = $("#mayorCure5").val();
        var mayorCure5Score = $("#mayorCure5Score").val();
        var mayorCure6 = $("#mayorCure6").val();
        var mayorCure6Score = $("#mayorCure6Score").val();
        var mayorCure7 = $("#mayorCure7").val();
        var mayorCure7Score = $("#mayorCure7Score").val();
        var mayorCure8 = $("#mayorCure8").val();
        var mayorCure8Score = $("#mayorCure8Score").val();

        /*初始化定位答案*/
        if (location2 != '' && location2Score != '') {
            wendaAcupointLocationCount++;
            content = "<div class='form-group'><div class='col-sm-2'></div><div class='col-sm-6'><input type='text' "+validateAnswerText+"class='form-control' name='answer' value=\"<#if exam.location2 ??>${exam.location2}</#if>\"/></div><label class='col-sm-1 control-label' style='padding-left:10px'>分值</label><div class='col-sm-2'><input type='text' "+validateAnswerScoreLocationText+" class='form-control' name='answerScore'  value=\"<#if exam.location2Score ??>${exam.location2Score}</#if>\"/></div><div class='col-md-1'><i onclick='deleteNewAdd(this,\"wendaAcupointLocationCount\")' class='glyphicon glyphicon-remove' style='margin-left: 80%;margin-top:12%;cursor: pointer;'></i></div></div>";
            $(divId1).append(content);
        }
        if (location3 != '' && location3Score != '') {
            wendaAcupointLocationCount++;
            content = "<div class='form-group'><div class='col-sm-2'></div><div class='col-sm-6'><input type='text'"+validateAnswerText+" class='form-control' name='answer' value=\"<#if exam.location3 ??>${exam.location3}</#if>\"/></div><label class='col-sm-1 control-label' style='padding-left:10px'>分值</label><div class='col-sm-2'><input type='text' "+validateAnswerScoreLocationText+" class='form-control' name='answerScore'  value=\"<#if exam.location3Score ??>${exam.location3Score}</#if>\"/></div><div class='col-md-1'><i onclick='deleteNewAdd(this,\"wendaAcupointLocationCount\")' class='glyphicon glyphicon-remove' style='margin-left: 80%;margin-top:12%;cursor: pointer;'></i></div></div>";
            $(divId1).append(content);
        }
        /*初始化主治答案*/
        if (mayorCure2 != '' && mayorCure2Score != '') {
            wendaAnswerMayorCureCount++;
            content = "<div class='form-group'><div class='col-sm-2'></div><div class='col-sm-6'><input type='text'"+validateAnswerText+"class='form-control' name='answer1' value=\"<#if exam.mayorCure2 ??>${exam.mayorCure2}</#if>\"/></div><label class='col-sm-1 control-label' style='padding-left:10px'>分值</label><div class='col-sm-2'><input type='text' "+validateAnswerScoreMayorCureText+" class='form-control' name='answerScore1'  value=\"<#if exam.mayorCure2Score ??>${exam.mayorCure2Score}</#if>\"/></div><div class='col-md-1'><i onclick='deleteNewAdd(this,\"wendaAnswerMayorCureCount\")' class='glyphicon glyphicon-remove' style='margin-left: 80%;margin-top:12%;cursor: pointer;'></i></div></div>";
            $(divId2).append(content);
        }
        if (mayorCure3 != '' && mayorCure3Score != '') {
            wendaAnswerMayorCureCount++;
            content = "<div class='form-group'><div class='col-sm-2'></div><div class='col-sm-6'><input type='text' "+validateAnswerText+"class='form-control' name='answer1' value=\"<#if exam.mayorCure3 ??>${exam.mayorCure3}</#if>\"/></div><label class='col-sm-1 control-label' style='padding-left:10px'>分值</label><div class='col-sm-2'><input type='text' "+validateAnswerScoreMayorCureText+" class='form-control' name='answerScore1'  value=\"<#if exam.mayorCure3Score ??>${exam.mayorCure3Score}</#if>\"/></div><div class='col-md-1'><i onclick='deleteNewAdd(this,\"wendaAnswerMayorCureCount\")' class='glyphicon glyphicon-remove' style='margin-left: 80%;margin-top:12%;cursor: pointer;'></i></div></div>";
            $(divId2).append(content);
        }
        if (mayorCure4 != '' && mayorCure4Score != '') {
            wendaAnswerMayorCureCount++;
            content = "<div class='form-group'><div class='col-sm-2'></div><div class='col-sm-6'><input type='text'"+validateAnswerText+" class='form-control' name='answer1' value=\"<#if exam.mayorCure4 ??>${exam.mayorCure4}</#if>\"/></div><label class='col-sm-1 control-label' style='padding-left:10px'>分值</label><div class='col-sm-2'><input type='text' "+validateAnswerScoreMayorCureText+" class='form-control' name='answerScore1'  value=\"<#if exam.mayorCure4Score ??>${exam.mayorCure4Score}</#if>\"/></div><div class='col-md-1'><i onclick='deleteNewAdd(this,\"wendaAnswerMayorCureCount\")' class='glyphicon glyphicon-remove' style='margin-left: 80%;margin-top:12%;cursor: pointer;'></i></div></div>";
            $(divId2).append(content);
        }
        if (mayorCure5 != '' && mayorCure5Score != '') {
            wendaAnswerMayorCureCount++;
            content = "<div class='form-group'><div class='col-sm-2'></div><div class='col-sm-6'><input type='text' "+validateAnswerText+" class='form-control' name='answer1' value=\"<#if exam.mayorCure5 ??>${exam.mayorCure5}</#if>\"/></div><label class='col-sm-1 control-label' style='padding-left:10px'>分值</label><div class='col-sm-2'><input type='text' "+validateAnswerScoreMayorCureText+" class='form-control' name='answerScore1'  value=\"<#if exam.mayorCure5Score ??>${exam.mayorCure5Score}</#if>\"/></div><div class='col-md-1'><i onclick='deleteNewAdd(this,\"wendaAnswerMayorCureCount\")' class='glyphicon glyphicon-remove' style='margin-left: 80%;margin-top:12%;cursor: pointer;'></i></div></div>";
            $(divId2).append(content);
        }
        if (mayorCure6 != '' && mayorCure6Score != '') {
            wendaAnswerMayorCureCount++;
            content = "<div class='form-group'><div class='col-sm-2'></div><div class='col-sm-6'><input type='text' "+validateAnswerText+"class='form-control' name='answer1' value=\"<#if exam.mayorCure6 ??>${exam.mayorCure6}</#if>\"/></div><label class='col-sm-1 control-label' style='padding-left:10px'>分值</label><div class='col-sm-2'><input type='text' "+validateAnswerScoreMayorCureText+" class='form-control' name='answerScore1'  value=\"<#if exam.mayorCure6Score ??>${exam.mayorCure6Score}</#if>\"/></div><div class='col-md-1'><i onclick='deleteNewAdd(this,\"wendaAnswerMayorCureCount\")' class='glyphicon glyphicon-remove' style='margin-left: 80%;margin-top:12%;cursor: pointer;'></i></div></div>";
            $(divId2).append(content);
        }
        if (mayorCure7 != '' && mayorCure7Score != '') {
            wendaAnswerMayorCureCount++;
            content = "<div class='form-group'><div class='col-sm-2'></div><div class='col-sm-6'><input type='text' "+validateAnswerText+"class='form-control' name='answer1' value=\"<#if exam.mayorCure7 ??>${exam.mayorCure7}</#if>\"/></div><label class='col-sm-1 control-label' style='padding-left:10px'>分值</label><div class='col-sm-2'><input type='text' "+validateAnswerScoreMayorCureText+" class='form-control' name='answerScore1'  value=\"<#if exam.mayorCure7Score ??>${exam.mayorCure7Score}</#if>\"/></div><div class='col-md-1'><i onclick='deleteNewAdd(this,\"wendaAnswerMayorCureCount\")' class='glyphicon glyphicon-remove' style='margin-left: 80%;margin-top:12%;cursor: pointer;'></i></div></div>";
            $(divId2).append(content);
        }
        if (mayorCure8 != '' && mayorCure8Score != '') {
            wendaAnswerMayorCureCount++;
            content = "<div class='form-group'><div class='col-sm-2'></div><div class='col-sm-6'><input type='text' "+validateAnswerText+"class='form-control' name='answer1' value=\"<#if exam.mayorCure8 ??>${exam.mayorCure8}</#if>\"/></div><label class='col-sm-1 control-label' style='padding-left:10px'>分值</label><div class='col-sm-2'><input type='text' "+validateAnswerScoreMayorCureText+" class='form-control' name='answerScore1'  value=\"<#if exam.mayorCure8Score ??>${exam.mayorCure8Score}</#if>\"/></div><div class='col-md-1'><i onclick='deleteNewAdd(this,\"wendaAnswerMayorCureCount\")' class='glyphicon glyphicon-remove' style='margin-left: 80%;margin-top:12%;cursor: pointer;'></i></div></div>";
            $(divId2).append(content);
        }
    }

    function addTerms(divId, count, msg, category) {
        switch (category) {
                //增加-问答题-腧穴题-定位
            case "wendaAcupointLocation":
                if (wendaAcupointLocationCount > count) {
                    // 询问框
                    layer.confirm(msg, {
                        btn: ["确认"]
                        // 按钮
                    });
                } else {
                    wendaAcupointLocationCount = wendaAcupointLocationCount + 1;
                    var content = "<div class='form-group'><div class='col-sm-2'></div><div class='col-sm-6'><input type='text' "+validateAnswerText+" class='form-control' name='answer' placeholder=\"请输入答案......\"/></div><label class='col-sm-1 control-label' style='padding-left:10px'>分值</label><div class='col-sm-2'><input type='text' "+validateAnswerScoreLocationText+" class='form-control' name='answerScore' /></div><div class='col-md-1'><i onclick='deleteNewAdd(this,\"wendaAcupointLocationCount\")' class='glyphicon glyphicon-remove' style='margin-left: 80%;margin-top:12%;cursor: pointer;'></i></div></div>";
                    $(divId).append(content);
                }
                break;
                //增加-问答题-腧穴题-主治
            case "wendaAcupointMayorCure":
                if (wendaAnswerMayorCureCount > count) {
                    // 询问框
                    layer.confirm(msg, {
                        btn: ["确认"]
                        // 按钮
                    });
                } else {
                    wendaAnswerMayorCureCount = wendaAnswerMayorCureCount + 1;
                    var content = "<div class='form-group'><div class='col-sm-2'></div><div class='col-sm-6'><input type='text' "+validateAnswerText+" class='form-control' name='answer1' placeholder=\"请输入答案......\"/></div><label class='col-sm-1 control-label' style='padding-left:10px'>分值</label><div class='col-sm-2'><input type='text' "+validateAnswerScoreMayorCureText+" class='form-control' name='answerScore1' /></div><div class='col-md-1'><i onclick='deleteNewAdd(this,\"wendaAnswerMayorCureCount\")' class='glyphicon glyphicon-remove' style='margin-left: 80%;margin-top:12%;cursor: pointer;'></i></div></div>";
                    $(divId).append(content);
                }
                break;
            default:
                break;
        }
    }

</script>
</html>
